<p class="Paragraph">Result: Any numeric variable that contains the result of the implication.</p>
<p class="Paragraph">Expression1, Expression2 : Any expressions to be evaluated with the Imp operator.</p>
<p class="Paragraph">If you use the Imp operator in boolean expressions, False is returned only if the first expression evaluates to True and the second to False.</p>
<p class="Paragraph">If you use the Imp operator in bit expressions, a bit will be deleted from the result if the corresponding bit is set in the first expression and the corresponding bit is deleted in the second expression.</p>
<p class="P2">Example:</p>
<p class="PropText">Sub ExampleImp</p>
<p class="PropText">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</p>
<p class="PropText">Dim vOut as Variant</p>
<p class="PropText">A = 10: B = 8: C = 6: D = Null</p>
<p class="PropText">vOut = A > B Imp B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText">vOut = B > A Imp B > C <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns 0</p>
<p class="PropText">vOut = A > B Imp B > D <text:s text:c="2" xmlns:text="http://openoffice.org/2000/text"/>REM returns -1</p>
<p class="PropText">vOut = (B > D Imp B > A) REM returns 0</p>
<p class="PropText">vOut = B Imp A <text:s text:c="10" xmlns:text="http://openoffice.org/2000/text"/>REM returns -3</p>